package com.logistics.modules.transportationManagement.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * excel行动计划
 *
 * @author 水穷处云起时
 * @date 2022/05/23
 */
@Data
@ExcelTarget("ExcelMovePlan")
public class ExcelMovePlan implements Serializable {

    static final long serialVersionUID = 41561562165156416L;


    /**
     * 寄货人名称
     */
    @Excel(name = "寄货人名称", width = 20,needMerge=true)
    @ApiModelProperty(value = "寄货人名称")
    private String consignorName;
    /**
     * 寄货人电话
     */
    @Excel(name = "寄货人电话", width = 20,needMerge=true)
    @ApiModelProperty(value = "寄货人电话")
    private String consignorPhone;
    /**
     * 起始地
     */
    @Excel(name = "起始地", width = 20,needMerge=true)
    @ApiModelProperty(value = "起始地")
    private String startAddress;
    /**
     * 目标地
     */
    @Excel(name = "目标地", width = 20,needMerge=true)
    @ApiModelProperty(value = "目标地")
    private String endAddress;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20,needMerge=true,format = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 完成时间
     */
    @Excel(name = "完成时间", width = 20,needMerge=true,format = "yyyy-MM-dd")
    @ApiModelProperty(value = "完成时间")
    private Date finishTime;
    /**
     * 收货人姓名
     */
    @Excel(name = "收货人姓名", width = 20,needMerge=true)
    @ApiModelProperty(value = "收货人姓名")
    private String consigneeName;
    /**
     * 收货人电话
     */
    @Excel(name = "收货人电话", width = 20,needMerge=true)
    @ApiModelProperty(value = "收货人电话")
    private String consigneePhone;

    /**
     * 货物地图座位名单
     */
    @ExcelCollection(name = "货物席位列表")
    private List<ExcelCargoMapSeat> cargoMapSeatList;



}
